package org.joa.util;

import org.joa.actor.ActorName;
import org.joa.manager.ActorManager;

public class ValueProxy {

	// Create a proxy for a new actor instance
	public static Value create(ActorName owner) {
		return (Value) ActorManager.instance.createActorProxy(owner,
				ValueActor.class, Value.class);
	}

	// Create a proxy for an existing actor instance
	public static Value create(ActorName remote, ActorName owner) {
		return (Value) ActorManager.instance.createActorProxy(remote,
				owner, Value.class);
	}
}
